package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class User {

    @TableId( type = IdType.AUTO)  //对应数据库的主键自增
    private Integer userId;

    private String username;

    private String password;

    private Boolean enabled;

}